import moment from "moment";
const Data= function Data(v){
    return moment(v*1000).format("YYYY-MM-DD hh:mm:ss A")
}
const DataTwo = function DataTwo(v){
    return moment(v*1000).format("YYYY-MM-DD hh:mm:ss A")
}
const Code = function Code(v){
    let code = ''
    switch (v) {
        case '0':code = '一级';break;
        case '1':code = '二级';break;
        case '2':code = '三级';break;
        default:code = '暂无等级'
    }
    return code
}
export {
    Data,DataTwo,Code
}
